SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fdf2270ce6d071f25d9ee4a742dafdb85dd14143abbb042e24c35e3bc461a37c' 
  AND token = 'WAZJUbJmrWMxGW3T9lhULRa1Q1G/CVX1lqcE0PRLGKE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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