SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3da6e31f2138c9442c4aae52fe66d406c1cb94a1274968e26ddd5f2ceb582269' 
  AND token = 'Zki2SzZam1WnWz3IHO0J7Oh/Ty2Js3zu/Nx60jE2BlQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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