SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10e4d8d37cade9eec08d305cdc1b7fe93613e89cb304c5fc2e7b9d717cac2857' 
  AND token = 'UprQ/f87SyjtgVBmTDIyPlYDq1Nx/oQ4IAD1mw5yB3o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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