SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '19f1818aab68eb98b4772c5487345a5116df57d499db57fe06d367bb996b0aeb' 
  AND token = 'c7El7RJSUhhQkT0PExTWLA4TFKWZ7GqLDYcZGbUkab0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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