SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d927a2e55fa7e3306b07882019cf8fff8bc959dac473d439fb4251ed16c1215' 
  AND token = 'cYoSGoOlVY0uof067GkUIAC67lTJek7F7sl4gSkazIE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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