SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '897c415ed02ad789a3026e1f008c2e6f9972e4bbf68476fc49642d7f225a0b8b' 
  AND token = 'kxDG3OLljiwF0FgqS/bcM+XYTdMMHwf1jJWSMay4eCg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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