SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff4db768254602cb24d27e617dd7016eb104bff913fdd532c71717f77860ace2' 
  AND token = '1b8s/zwkHe5f3HUWKJl10HDsqGtzol/tfUVPtjkxyko=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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