SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '731bd3b30a8a20d9bf27f65395398817e44020e41c5821c461d8b635aa9e395c' 
  AND token = '5TotIBpBz77qOZFp4WlKT3rj75jnWd8ejrF21LsOwFA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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