SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd38a06407d386a828a44dbfb1ded8e70fbcac8fd3a4af78ab6f8e50d1cbecbe9' 
  AND token = '2dI1IN5fgKO2QAp9gSPoNPj8/sKl0NMWkUonmLreZ18=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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