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

Query time 0.00038

JSON explain

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