SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4cd5c9bff829fe149c4adcb70e9c18864909a0dbfee6e1c83244509b69bc28a1' 
  AND token = 'uTg9OtvG14VWA7+Vi3Fx/v3/DRPM/YJPdZE7V1ympgo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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