SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e213204f63a05c6035e6fbd9108630bcb415773404aca5e08f2ba44f1fd23215' 
  AND token = 'hBI/IcCzC3Tm6bc+bOz1BRbUeAamWusA/HS+Pwr8Hdc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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