SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c864a3e155b143b6e84ca88db4a3954beb3264a9abc6b545b3d676cb98729fc' 
  AND token = 'UmStBNGtU4d3hZ6lPJ9ZXiFQRal37sMQyHRr9Hy29jQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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