SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58b46960db42fc14665c11e51f2b69136c91581366a1f3dce734ae9585545440' 
  AND token = 'NyQG9DH7CZbpH117j7K/ceTWV6tuSByB3eO3id/uS20=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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