SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0221588d013b1638b72343ad7a46222ba9477cb311b0bf8fbb67381d954f9f46' 
  AND token = 'niui0rEXyepIIG2HJXy9fp8P6WngDneJzfVJlkm9bxA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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