SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2e6cdfecb611c6883ea915a490ec10d3c4bf933c6178d33a6d81b4f3d48bf17' 
  AND token = 'Q8mW48cC0sW2GE5JQxXXwAf9EuudcqckQ0535dR8CHU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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