SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38f17ccdfd8853baeff6283629c1184d6ca751dc4a1572e70f37ab6b59e14419' 
  AND token = '8flx/jXbA5p5fgvTNRgwuuHmHLj99ecJOSMflH5kboM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}