SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af3dddd88a428726953eac38267ace8135d8387945379fec2d588ce25a49e3b5' 
  AND token = 'thFSHFoIBPSyqriIGFxVQH9AAsIs6Ku7Zd2jq3GutzE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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