SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6a0c37d5bb97eb0043d2f083fb1899998b8f2ca298356203254417b9e0142b28' 
  AND token = '8JW61956wtXigaDY62KMk/ORVkPj4jrK0CV6fPaRE6c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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