SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fd158976d0b2a54eb11bbb5500270f88be84f2321723c844655d561c6503ec5f' 
  AND token = 'BA2+rEgFvy9L44Rsh/7PXWJ7vKxTQHJdLknU0SJVIso=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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