SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e2a827682f7c3de14a10ee07a6a9d209bc3ba091a66ab01f2de5ee43b9db7c6' 
  AND token = 'oSM5ocFTNLp5fXD/z1LWTi2xKOVe1wFXhcn1Q6MYIAs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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