SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24764cad5434a166a1f602d500972fb1afce22e950cd29fa1eded34e117d00ac' 
  AND token = 'Dn550YnAG1Eh+3fNJlGIhXbMx035q428pzFquw6HlEg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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