SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4fd95777beeeca975fd3cf61d3a227c83de634e6ab064785a390108b225e1712' 
  AND token = 'y0fdWAseRqtRu6mOrhZ79FotUt9pNfoujOfAYvkbCF8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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