SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7542305cc2a13ca955a050ba3fb3abe71c09472edc19058a025214df7309e99b' 
  AND token = '18pnH9vLGOOVO2Fef3xgGB+d3KnnBCDAhPwp5xV2tRo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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