SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f24534faf0c2c9712a2702792b06eb62a45991d39e57822645dc958ec19a4f11' 
  AND token = 'IwLxhpFNMABBgn9WfU68GvtXi6Ipnw0SzC+IkvmbH4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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